package com.zang.blogz.quartz;

import com.zang.blogz.entity.Job;
import com.zang.blogz.utils.JobInvokeUtils;
import org.quartz.JobExecutionContext;

/**
 * @Author: ZVerify
 * @Description: 定时任务处理(禁止并发执行)
 * @DateTime: 2022/9/4 10:47
 **/
public class QuartzDisallowConcurrentExecution extends AbstractQuartzJob{
    @Override
    protected void doExecute(JobExecutionContext context, Job job) throws Exception {
        JobInvokeUtils.invokeMethod(job);
    }
}
